package com.pucong.gitee.database.backup.common.entity.service;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pucong.gitee.database.backup.common.selfenum.FileServiceHistoryTypeEnum;
import com.pucong.gitee.database.backup.common.selfenum.FileServiceTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
* @author pucong
* @company gitee.com/pucong
* @create 2020-12-02
*/
@Data
@TableName("auto_service_file_list_history")
@ApiModel("附件操作")
public class ServiceFileListHistory implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "uuid",type = IdType.INPUT)
    @ApiModelProperty("主键")
    private String uuid;

    @TableField("file_list_uuid")
    @ApiModelProperty("服务文件id")
    private String fileListUuid;

    @TableField("file_service_type")
    @ApiModelProperty("附件服务类型枚举类")
    private FileServiceTypeEnum fileServiceType;

    @TableField("operation_type")
    @ApiModelProperty("操作类型")
    private FileServiceHistoryTypeEnum operationType;

    @TableField("create_by")
    @ApiModelProperty("创建人id")
    private String createBy;

    @TableField("create_date")
    @ApiModelProperty("创建时间")
    private Date createDate;

}
